package org.csu.mypetstore.persistence;


import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    List<org.csu.mypetstore.domain.Order> getOrdersByUsername(String username);

    org.csu.mypetstore.domain.Order getOrder(int orderId);

    void insertOrder(org.csu.mypetstore.domain.Order order);

    void insertOrderStatus(org.csu.mypetstore.domain.Order order);
}
